package com.cn.service.server.mc;

import com.cn.bean.pojo.mc.*;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface HcxxService {
    List<Hcxx>selectHcxx(@Param("limit") int limit, @Param("page") int page, @Param("djBh") String djBh, @Param("k3WlBm") String k3WlBm);
    int addHcxx(@Param("hcBh") String hcBh, @Param("hcMc") String hcMc, @Param("gg") BigDecimal gg, @Param("sl") String sl, @Param("dw") String dw, @Param("bz") String bz, @Param("djBh") String djBh, @Param("gzmDcMxcs") String gzmDcMxcs, @Param("rs") String rs, @Param("hysj") String hysj, @Param("sqrGh") String sqrGh, @Param("sqrXm") String sqrXm, @Param("sqBm") String sqBm, @Param("sqSj") String sqSj);
    int delHcxx(@Param("hcBh") String hcBh);
    int updateHcxx(@Param("hcBh") String hcBh,@Param("hcMc") String hcMc,@Param("gg") BigDecimal gg,@Param("sl") String sl,@Param("dw") String dw,@Param("bz") String bz,@Param("djBh") String djBh,@Param("gzmDcMxcs") String gzmDcMxcs,@Param("rs") String rs,@Param("xgrGh") String xgrGh,@Param("xgrXm") String xgrXm,@Param("xgrBm") String xgrBm,@Param("xgrSj") String xgrSj);
    int insertMcHy (@Param("sqrGh")String sqrGh,@Param("sqrXm")String sqrXm,@Param("sqrBm")String sqrBm,@Param("sqSj")String sqSj,@Param("Hcxx")Hcxx hcxx);
    Integer getAutoId();
    int upDateK3FlXxZt(@Param("djBh")String djBh);
    List<K3FlXx> getK3FlXx(@Param("limit") int limit, @Param("page") int page, @Param("djBh") String djBh, @Param("k3Mc") String k3Mc, @Param("parentId") String parentId, @Param("zt")Integer zt);
   //主子表
   int addMcHc(@Param("sqrGh")String sqrGh,@Param("sqrXm")String sqrXm,@Param("sqrBm")String sqrBm,@Param("sqSj")String sqSj,@Param("gx") String gx,@Param("sb") String sb,@Param("banZu") String banZu,@Param("bz") String bz,@Param("id") int id,@Param("documentNumber") String documentNumber,@Param("djsj") String djsj,@Param("zr")int zt,@Param("shZt")int shZt);
    int addMcHcList(@Param("McHcList") McHcList mcHcList);
    Integer getMcHcAutoid();

    Integer getMcHcListAutoid();
    List<McHc> getMcMxList(@Param("limit") int limit, @Param("page") int page, @Param("documentNumber") String documentNumber, @Param("gx") String gx, @Param("zt")int zt);
    List<McHcList>getMcHcList(@Param("id")int id);
    int upDateMcHc(@Param("documentNumber")String documentNumber,@Param("xgrGh")String xgrGh,@Param("xgrXm")String xgrXm,@Param("xgrBm")String xgrBm,@Param("xgSj")String xgSj,@Param("gx") String gx,@Param("sb") String sb,@Param("banZu") String banZu,@Param("bz") String bz);
    int deleteMcHcList(@Param("parentId")int parentId);
    int upDateMcHcSh(@Param("id") int id, @Param("zt") int zt, @Param("shZt") int shZt, @Param("shrGh") String shrGh, @Param("shrXm") String shrXm, @Param("shrBm") String shrBm, @Param("shSj") String shSj);
    Integer isCite(@Param("gzmDcMxcs")int gzmDcMxcs,@Param("djBh")String djBh);

}
